@import 'uview-ui/theme.scss';
$light-color: #F3C31B;//主题色
$color-fu:#1b1919;//辅助颜色
$color-bg:#ffffff;//深度内容背景
$color-bgs:#ffffff;//浅色内容背景
$back-color: #999999;
$color-primary: #376fee;
$border:#E6E6E6;
$navbar-height: 88rpx; 
$color-rise: #16d172;
$color-neutral:#FFB740;
$color-fall: #e31345;
.light-color{
	color: $light-color !important;
}
.color-rise{
	color: $color-rise !important; //买入绿
}
.color-neutral{
	color: $color-neutral !important;//中立
}
.color-fall{
	color: $color-fall !important;//卖出红
}


$color-text-primary: #333333;
$color-text-regular: #666666;
$color-text-secondary: #999999;

$color-white: #ffffff;
$color-black: #000000;

$border-color-base: #eeeeee;

$background-color-base: #f7f7f7;

$navbar-height: 88rpx;

$u-type-primary: #376fee;
$u-type-primary-dark: darken($u-type-primary, 4%);

$coin: new usdt rsr one ht iost btc bch btg eth ae bifi hc eos ctxc musk xrp ela xem dcr gxc dash;

$exchange: binance bitfinex bittrex coinbase-pro gate huobi mxc okex;
 @font-face {
	      font-family: PingFang;
	      src: url('~@/static/font/PingFang.ttf');
	  }
@mixin page {
  page {
    background-color: #F5F5F5;
	color: $color-black;
	
    font-family: PingFang;
	-webkit-font-smoothing: antialiased;
  }
}
//修改 uni.showModal 颜色 灰色主题有用
// .uni-modal{
// 	background-color: red !important;
// }
// .uni-modal .uni-modal__btn:active {
//     background-color: red !important;
// }

@mixin fill {
  width: 100%;
  height: 100%;
}

@mixin flex {
  display: flex;
  align-items: center;
}

@mixin background {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

@mixin clearfix {
  &:after {
    content: '';
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
}

@mixin statusbar {
  padding-top: var(--status-bar-height);
}

@mixin safearea {
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

@mixin active {
  position: relative;
  overflow: hidden;
  &::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    transition: background-color 0.2s;
  }
  &:active::after {
    background-color: rgba(0, 0, 0, 0.05);
  }
}

@mixin click($o: 0.5) {
  transition: opacity 0.1s;
  &:active {
    opacity: $o;
  }
}


.theme-bg{//块黑色
	background: #000000 !important;
	// animation-name: fade;
	// animation-duration: .8s;
	// animation-timing-function: linear;
	/deep/ .u-cell_title{
		color: #FFFFFF !important;
	}
}
.theme-bgs{//背景色
	background: #181818 !important;
}
.theme-colr{
	// background: #000000;
	color: #FFFFFF !important;
}
.theme-colrs{
	color: #F6BB09 !important;
}
.themr-rad{
	border: 1rpx solid #F6BB09 !important;
}
.themr-rads{//交易页面
	border: 1rpx dashed #F6BB09!important;
}
.theme-colb{
	color: #999999 !important;
}
.theme-sore1{
	background: #E35A61 !important;
}
.theme-bob{
	border-bottom: 1rpx solid rgba(#EEEEEE,0.3) !important;
}
/*****************/ 
/***********文字溢出处理********/
.text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* 清除浮动 */
.clear-float::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* *********浮动样式 ***********/
.float-left {
  float: left;
}

.float-right {
  float: right;
}

/* 清除浮动 */
.clear-float::after {
  content: "";
  display: block;
  clear: both;
}

/*********弹性布局兼容性处理*********/
.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.flex-item {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/*flex-direction属性决定主轴的方向（即项目的排列方向）。*/
.flex-direction-row-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.flex-direction-column-reverse {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
}

.flex-column {
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

/*默认情况下，项目都排在一条线（又称"轴线"）上。flex-wrap属性定义，如果一条轴线排不下，如何换行。*/
.flex-wrap-nowrap {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.flex-wrap {
  -webkit-flex-wrap: wrap;
  -webkit-box-lines: multiple;
  -moz-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex-wrap-reverse {
  -ms-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
}

/*justify-content属性定义了项目在主轴上的对齐方式。*/
.justify-start {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.justify-end {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.justify-center {
  -webkit-box-pack: center;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.justify-between {
  -webkit-box-pack: space-between;
  -moz-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.justify-around {
  -webkit-box-pack: space-around;
  -moz-justify-content: space-around;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}

.align-items {
  -webkit-box-align: center;
  -moz-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.align-end {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
$font-size34: 34rpx;
